import request from '@/utils/scorerequest'

// 登陆接口
// 下载错题本
export const errorBookLogin = (data) =>{
    return request({
		url: '/api/error/book/login',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}
// 下载错题本
export const errorBookPdfDownload = (data) =>{
	return request({
		url: '/api/error/book/pdf/download',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}



// 成绩列表
export const navlist = (data) =>{
	return request({
		url: '/api/nav/list',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}
//年级列表/学科列表  2年级  6学科
export const navgetgrade = (data) =>{
	return request({
		url: '/api/nav/get',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}
// 编辑和创建考试
export const naveditexam = (data) =>{
	return request({
		url: '/api/nav/edit',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}
//地区卷及学科修改
export const areaxkModify = (data) =>{
	return request({
		url: '/api/nav/update',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}
//获取学校列表/group/edit
export const schoolList = (data) =>{
	return request({
		url: '/api/group/page',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}
//创建学校
export const schoolEdit = (data) =>{
	return request({
		url: '/api/group/edit',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	  })
}
// 删除学校
export const schoolDelete = (data) =>{
	return request({
		url: '/api/group/delete',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//学生总成绩导入
export const studentscoreimport = (data) =>{
	return request({
		url: '/api/student/score/import',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//查询答题卡
export const lookcardlist = (data) =>{
	return request({
		url: '/api/nav/stu/paper/get',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//删除成绩
export const deletestudentscore = (data) =>{
	return request({
		url: '/api/student/score/delete',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//学生选科列表/student/score/select/subject
export const selectstudentsubject = (data) =>{
	return request({
		url: '/api/student/score/select/subject',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//缺考编辑
export const missexamedit = (data) =>{
	return request({
		url: '/api/student/score/miss/exam/edit',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//批量修改及单科修改  
export const studentmodifyscore = (data) =>{
	return request({
		url: '/api/student/score/update',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//批量修改获取班级
export const groupcalssList = (data) =>{
	return request({
		url: '/api/group/class/list',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//小题分下载模板
export const importdownloadsmall = (data) =>{
	return request({
		url: '/api/import/template/download',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//批量导入小题分
export const smallquestionimport = (data) =>{
	return request({
		url: '/api/import/subject/question/score',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//学生小题分修改
export const smallquestionupdate = (data) =>{
	return request({
		url: '/api/student/score/small/question/update',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//删除小题分
export const studentsmallquestionDelete = (data) =>{
	return request({
		url: '/api/student/score/small/question/delete',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//学生信息列表
export const studentInfoList = (data) =>{
	return request({
		url: '/api/user/page',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//删除学生
export const studentinfoDelete= (data) =>{
	return request({
		url: '/api/user/delete',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//学生信息修改
export const studentinfoUpdate= (data) =>{
	return request({
		url: '/api/user/update',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//上线信息列表
export const onlineinfoList= (data) =>{
	return request({
		url: '/api/group/line/page',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//上线信息修改/group/line/update
export const onlineupdate= (data) =>{
	return request({
		url: '/api/group/line/update',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//删除考试
export const examDelete= (data) =>{
	return request({
		url: '/api/nav/delete',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//获取考试信息回填api/nav/detail
export const examinfobackadd= (data) =>{
	return request({
		url: '/api/nav/detail',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//下载进度
export const downloadprogressget = (data) =>{
	return request({
		url: '/api/download/progress/get',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//单独删除学科
export const deleteStudent = (data) =>{
	return request({
		url: '/api/nav/delete/by/id',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//重新赋分接口
export const reassignpointss = (data) =>{
	return request({
		url: '/api/student/score/ff/edit',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//联考有痕阅卷
export const markpaperafter = (data) =>{
	return request({
		url: '/api/nav/mark/paper/after2',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//联考留痕阅卷api
export const navmarkpaperlist = (data) =>{
	return request({
		url: '/api/nav/mark/paper/list',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//删除卷面留痕
export const navmarkpaperdelete = (data) =>{
	return request({
		url: '/api/nav/mark/paper/delete',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//pdf列表 
export const downloadPdfPage = (data) =>{
	return request({
		url: '/api/download/pdf/page',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//pdf下载
export const downloadPdfExamGenerate = (data) =>{
	return request({
		url: '/api/download/pdf/exam/generate',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//download/pdf
export const downloadPdfTj = (data) =>{
	return request({
		url: '/api/download/pdf',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}
//删除
export const downloadPdfDelete = (data) =>{
	return request({
		url: '/api/download/pdf/delete',
		method: 'post',
		data,
		headers: {
		   'Content-Type':'application/json'
		}
	})
}

